package com.newcoder.entity;


import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjh
 * @since 2024-12-04 10:03:26
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "User对象", description = "")

public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String username;

    private String password;

    private String salt;

    private String email;

    @ApiModelProperty("0-普通用户; 1-超级管理员; 2-版主;")
    private Integer type;

    @ApiModelProperty("0-未激活; 1-已激活;")
    private Integer status;

    private String activationCode;

    private String headerUrl;

    private Date createTime;
}
